/**
 *
 * ......................我佛慈悲.......................
 *                       _oo0oo_
 *                      o8888888o
 *                      88" . "88
 *                      (| -_- |)
 *                      0\  =  /0
 *                    ___/`---'\___
 *                  .' \\|     |// '.
 *                 / \\|||  :  |||// \
 *                / _||||| -卍-|||||- \
 *               |   | \\\  -  /// |   |
 *               | \_|  ''\---/''  |_/ |
 *               \  .-\__  '-'  ___/-. /
 *             ___'. .'  /--.--\  `. .'___
 *          ."" '<  `.___\_<|>_/___.' >' "".
 *         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *         \  \ `_.   \_ __\ /__ _/   .-` /  /
 *     =====`-.____`.___ \_____/___.-`___.-'=====
 *                       `=---='
 *
 *..................佛祖开光 ,永无BUG....................
 *         CSDN博客:http://blog.csdn.net/song5347
 *       github地址:https://github.com/lingsuiderongyan
 *             邮箱:lingsuiderongyan@163.com
 */
//表情模型
import UIKit

class LSEmoticon: NSObject {
    
    //表情描述,发送给后台让其识别为表情的字段
    var chs: String?
    //图片名称
    var png: String?
    //表情类型0-图片  1-emoji
    var type: String?
    //16进制的emoji表情字符串
    var code: String?
    
    //图片全路径 -> 原因是在Emoticons.boundle里的图片在mainbundle找不到
    var path: String?
    
    //kvc构造函数
    init(dic: [String: AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dic)
    }
    //防止字段不匹配导致崩溃
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
}

















